<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/定位.css">
</head>
<body>
    <div class="box">
        <div class="r">绝对定位</div>
    </div>
    <div class="box">
        <div class="a">我是相对定位</div>
        </div>
    </div>
    <div class="box">
        <div class="g">固定定位</div>
    </div>	
</body>
</html>